package com.example.core.testDemo.utils;

import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @描述
 * @类名
 * @日期 2019/9/24
 * @时间 15:58
 * @authorzhangzhaoyang
 */
//@Component
public class WebMvcConfig implements WebMvcConfigurer {
    @Override
    public void addResourceHandlers(ResourceHandlerRegistry registry) {
        registry.addResourceHandler("/static/zhengAdmin/**").addResourceLocations("classpath:/static/zhengAdmin/");
    }
}
